﻿@{          
    String pageTitle = "Account Activation";    
    bool _HasActivated = ViewData[AppConstants.ViewDataKeys.HAS_ACTIVATED] == null ? false : Convert.ToBoolean(ViewData[AppConstants.ViewDataKeys.HAS_ACTIVATED]);    
    ViewBag.Title = Html.GetPageTitle(pageTitle);    
}

<div class="jb-page-heading">
    <h1>@pageTitle</h1>
    <div>
        Account Activation Information.
    </div>
</div>
<div class="jb-page-content">
    @Html.ValidationMessage(AppConstants.Validation.INVALID_REQUEST)

    @if (_HasActivated){    
        @Html.SuccessMessageBox(String.Format("Congratulations! You have successfully activated your account. You can now {0} to {1}", Html.PublicLink("login", "logon", "account"), ConfigReader.SiteName))    
    }
    else {    
        @Html.WarningMessageBox("Sorry! Your account activation process was not successful.")    
    }
</div>

@section RightSideBar
{
    <ul>
        <li>Advertisement 1</li>
        <li>Advertisement 1</li>
    </ul>
}

